package com.jasonli.dao;

import com.jasonli.domain.User;
import org.apache.ibatis.annotations.*;

import java.util.List;

public interface UserDao {
    @Select("select * from user where username = #{username} and password = #{password}")
    public User getByUsernameAndPassword(@Param("username") String username, @Param("password") String password);
}
